package top.haijunit.navi.auth.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import top.haijunit.framework.mybatis.domain.BasicEntity;

import java.io.Serializable;

/**
 * 权限关系表
 */
@Data
@TableName(value ="access_permission_relation")
public class PermissionRelationEntity extends BasicEntity {


    /**
     * 权限编码
     */
    private Long permissionCode;

    /**
     * 关联关系，1互斥,2依赖
     */
    private Integer relationType;

    /**
     * 关联权限编码
     */
    private Long relationPermissionCode;

    /**
     * 权限关系描述信息
     */
    private String remarks;

}
